#!/bin/bash

set -x

image=sh-sim-component
tag=8
front_version=latest

registry=registry.xuelangyun.com/shuzhi
repo=${registry}/${image}:${tag}

repo_latest=${registry}/${image}:latest

docker build --build-arg FRONT_VERSION=$front_version -t ${repo} .
docker push ${repo}

#docker tag ${repo} ${repo_latest}
#docker push ${repo_latest}
